<template>
  <div class="myorder">
    <div class="title">
      <van-icon name="arrow-left" @click="back"/>

      <span>我的订单</span>
    </div>
    <van-tabs v-model="active" title-active-color="#75A342" color="#75A342">
      <van-tab title="全部"></van-tab>
      <van-tab title="待支付"></van-tab>
      <van-tab title="待收货"></van-tab>
    </van-tabs>
  </div>
</template>

<script>
  export default{
    name:'MyOrder',
    data() {
      return {
        active: 0,
      }
    },
    methods: {
      back() {
        this.$router.go(-1)
      }
    }
  }
</script>

<style scoped="scoped">
  .title{
    text-align: center;
    padding: 30px;
    font-size: 32px;
  }
  .title .van-icon{
    position: absolute;
    left: 30px;
    color: blue;
  }
  .van-tabs_line {
    background-color: #75A342 !important;
  }
</style>
